package org.metasketch.demo.diagrams;

import org.metasketch.editor.Project;
import org.metasketch.editor.toolbox.IDiagramBuilder;
import org.metasketch.graphics.Diagram;
import org.metasketch.javafx.graphics.JFXDiagram;

public class EmptyDiagramBuilder implements IDiagramBuilder {

	@Override
	public JFXDiagram getJFXDiagram(Diagram diagram, Project project) {

		JFXDiagram jfxDiagram = new JFXDiagram();
		jfxDiagram.setDiagram(diagram);

		return jfxDiagram;
	}

}
